package com.JDK.ThreadPoolExecutor;

public class Result {

    public Long executeTime;

    public Integer res;

    public Integer id;

    public Result(Long time, Integer res, Integer id){
        this.res = res;
        this.executeTime = time;
        this.id = id;
    }

    @Override
    public String toString(){
        return "[executeTime: " + executeTime.toString() + " ms, " +
                "result: " + res +
                ", orderId: " + id + " ]";
    }

}
